  <div class="tab">
    <ul>
      <li><a href="#tab1">엑셀입력</a></li>
      <li><a href="#tab2">직접입력</a></li>
    </ul>
    <div id="tab1">
      <section class="accordion">
        <h4>일반병해충 등록</h4>
        <div>
          <div class="btn_fr">
            <button type="button close_btn">발생조사 업로드 양식 다운로드</button>
          </div>
          <form>
            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="searchTb">
              <tr>
                <th scope="row">발생조사 파일 업로드</th>
                <td colspan="3"><label for="fileField"></label>
                  <input type="file" name="fileField" id="fileField" /></td>
              </tr>
            </table>
            <div class="btn_dp">
              <button type="button" onclick="loadData()">전송</button>
            </div>
          </form>
        </div>
      </section>
      <section class="">
        <div class="ui-content-grid">
          <div class="tab">
            <ul>
              <li><a href="#tab_result_1">솔잎혹파리 </a></li>
              <li><a href="#tab_result_2">솔껍질깍지벌레 </a></li>
              <li><a href="#tab_result_3">미국흰불나방 </a></li>
              <li><a href="#tab_result_4">오리나무잎벌레 </a></li>
              <li><a href="#tab_result_5">잣나무넓적잎벌 </a></li>
              <li><a href="#tab_result_6" class="ellipsis" style="width:100px">복숭아명나방(밤나무해충)</a></li>
              <li><a href="#tab_result_7">솔알락명나방</a></li>
              <li><a href="#tab_result_8">솔나방 </a></li>
              <li><a href="#tab_result_9">미국선녀벌레</a></li>
              <li><a href="#tab_result_10">아시아매미나방 </a></li>
              <li><a href="#tab_result_11">소나무좀 </a></li>
              <li><a href="#tab_result_12">남포잎벌 </a></li>
              <li><a href="#tab_result_13">꽃매미 </a></li>
              <li><a href="#tab_result_14">붉은매미나방</a></li>
              <li><a href="#tab_result_15">기타병해충</a></li>
            </ul>
            <div id="tab_result_1" class="ui-content-grid">
              <table id="regist_list">
              </table>
              <div id="regist_pager"> </div>
              <script type="text/javascript">

				jQuery("#regist_list").jqGrid({        
					url:'/sample/data3.json',
					datatype: "json",
					colModel:[
						 {name:'ID' ,	width:100, 	align:"center"}
						,{name:'관리소' ,	width:60, 	align:"center"}
						,{name:'시군' ,	width:60, 	align:"center"}
						,{name:'동명읍' ,	width:60, 	align:"center"}
						,{name:'리' ,	width:50, 	align:"center"}
						,{name:'임반' ,	width:30, 	align:"center"}
						,{name:'소반' ,	width:30, 	align:"center"}
						,{name:'지목' ,	width:30, 	align:"center"}
						,{name:'지번' ,	width:30, 	align:"center"}
						,{name:'임종' ,	width:30, 	align:"center"}
						,{name:'임상' ,	width:30, 	align:"center"}
						,{name:'수종' ,	width:30, 	align:"center"}
						,{name:'병해충명' ,	width:100, 	align:"center"}
						,{name:'발생년도' ,	width:100, 	align:"center"}
						,{name:'발생면적' ,	width:100, 	align:"center"}
						,{name:'ha당본수' ,	width:100, 	align:"center"}
						,{name:'ha당피해본수' ,	width:100, 	align:"center"}
						,{name:'피해도' ,	width:100, 	align:"center"}
						,{name:'방제방법계획' ,	width:100, 	align:"center"}
						,{name:'조사년도' ,	width:100, 	align:"center"}
						,{name:'조사착수월' ,	width:100, 	align:"center"}
						,{name:'조사착수일' ,	width:100, 	align:"center"}
						,{name:'조사완료월' ,	width:100, 	align:"center"}
						,{name:'조사완료일' ,	width:100, 	align:"center"}
						,{name:'소요일' ,	width:100, 	align:"center"}
						,{name:'조사공무원' ,	width:100, 	align:"center"}
			
			
					]
					, rowNum:20
					, rowList:[10,20,30]
					, pager: '#regist_pager'
					, viewrecords: true
					, height: '200'
					, caption : '일반병해충 업로드 목록'
					, autowidth : true
					, shrinkToFit : false
				});
				jQuery("#regist_list").jqGrid('navGrid','#regist_pager',{edit:false,add:false,del:false});
				jQuery("#regist_list").jqGrid("setFrozenColumns");
				</script> 
            </div>
          </div>
        </div>
      </section>
      <section class="accordion">
        <h4>업로드 오류목록</h4>
        <div class="ui-content-grid">
          <table id="regist_error_list">
          </table>
          <div id="regist_error_paper"></div>
          <div class="btn_dp">
            <button type="button" onclick="loadData()">저장 </button>
            <button type="button" class="close">닫기</button>
          </div>
        </div>
      </section>
      <script type="text/javascript">
		 jQuery("#regist_error_list").jqGrid({        
                url:'/sample/data6.json',
                datatype: "json",
                colModel:[
					 {name:'병해충명' ,	width:100, 	align:"center"}
                    ,{name:'행' ,	width:100, 	align:"center"}
                    ,{name:'열' ,	width:100, 	align:"center"}
                    ,{name:'오류내용' ,	width:300, 	align:"left"}
                ]
                , rowNum:20
                , rowList:[10,20,30]
                , pager: '#regist_error_paper'
                , viewrecords: true
                , caption : ''
				, height : '100px'
                , autowidth : true
//                , shrinkToFit : false
            });
            jQuery("#jsonmap").jqGrid('navGrid','#pjmap',{edit:false,add:false,del:false});
            jQuery("#jsonmap").jqGrid("setFrozenColumns");
	</script> 
    </div>
    <div id="tab2">
      <form name="form1" method="post" action="">
        <table cellpadding="0" cellspacing="0" class="listTb">
          <tr>
            <th colspan="2">병해충명</th>
            <td><select name="select4" id="select4">
                <option>솔잎혹파리</option>
              </select></td>
            <th>병해충명 기타</th>
            <td><input name="textfield" type="text" id="textfield"  /></td>
          </tr>
          <tr>
            <th colspan="2">관리행정기관</th>
            <td colspan="3"><label for="textfield"></label>
              <select name="select5" id="select5">
                <option>강릉</option>
              </select></td>
          </tr>
          <tr>
            <th rowspan="3">발생주소</th>
            <th>주소</th>
            <td colspan="3"><input name="textfield4" type="text" disabled="disabled" id="textfield4" value="경기도 고양시 고양동 고양1리" size="60" maxlength="60" />
              <a href="#" class="btn layer">주소검색</a></td>
          </tr>
          <tr>
            <th>지번</th>
            <td colspan="3"><input name="textfield8" type="text" id="textfield8" value="11-1" /></td>
          </tr>
          <tr>
            <th>기타특징</th>
            <td colspan="3"><input name="textfield9" type="text" id="textfield9" size="50" /></td>
          </tr>
          <tr>
            <th colspan="2">임종</th>
            <td><input type="text" name="textfield6" id="textfield2"/></td>
            <th>임상</th>
            <td><input type="text" name="textfield7" id="textfield7"/></td>
          </tr>
          <tr>
            <th colspan="2">수종</th>
            <td colspan="3"><input type="text" name="textfield2" id="textfield6"/></td>
          </tr>
          <tr>
            <th colspan="2">예찰일</th>
            <td colspan="3"><input type="text" name="textfield10" id="textfield10" class="datepicker"/></td>
          </tr>
          <tr>
            <th colspan="2">예찰자 직급</th>
            <td><input type="text" name="textfield7" id="textfield11" class="datapicker"/></td>
            <th>예찰자 성명</th>
            <td><input type="text" name="textfield7" id="textfield12" class="datapicker"/></td>
          </tr>
          <tr>
            <th colspan="2">발생면적</th>
            <td colspan="3"><input type="text" name="textfield7" id="textfield14"/></td>
          </tr>
          <tr>
            <th colspan="2">ha당 본수</th>
            <td><input type="text" name="textfield10" id="textfield10" class="datapicker"/></td>
            <th>ha당 피해본수</th>
            <td><input type="text" name="textfield5" id="textfield5" class="datapicker"/></td>
          </tr>
          <tr>
            <th colspan="2">피해도</th>
            <td colspan="3"><input name="textfield7" type="text" disabled="disabled" id="textfield15" value="80%"/>
              * ha당피해본수 / ha당 본수 * 100</td>
          </tr>
          <tr>
            <th colspan="2">조사착수일</th>
            <td><input type="text" name="textfield11" id="textfield13" class="datepicker"/></td>
            <th>조사완료일</th>
            <td><input type="text" name="textfield12" id="textfield16" class="datepicker"/></td>
          </tr>
          <tr>
            <th colspan="2">비고</th>
            <td colspan="3"><textarea name="textarea" id="textarea" cols="45" rows="5">비고란에 메모를 작성해주세요</textarea></td>
          </tr>
        </table>
        <div class="btn_dp">
          <button type="button">저장</button>
          <button type="button" class="close">닫기</button>
        </div>
      </form>
    </div>
  </div>
